package org.coolwind.web.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/login")
public class LoginAction {
	@RequestMapping(params={"method=login"})
	public ModelAndView login() {
		return new ModelAndView("index");
	}
	@RequestMapping()
	public ModelAndView index() {
		return new ModelAndView("index");
	}
}
